package com.xiashitech.interfaces.grpc.exchange;

public class CommunicationObject<T> {
    private String exchangeUuid;
    private T data;

    // 对象创建时的毫秒时间戳
    private long sendTimeStamp;

    public String getExchangeUuid() {
        return exchangeUuid;
    }

    public T getData() {
        return data;
    }

    public void setExchangeUuid(String exchangeUuid) {
        this.exchangeUuid = exchangeUuid;
    }

    public void setData(T data) {
        this.data = data;
    }

    public long getSendTimeStamp() {
        return sendTimeStamp;
    }

    public void setSendTimeStamp(long sendTimeStamp) {
        this.sendTimeStamp = sendTimeStamp;
    }
}
